﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace 属性
{
    /// <summary>
    /// 具有表达式体的属性访问器 (lambda表达式)
    /// </summary>
    public class Example1
    {
        private string _firstName;
        public string FirstName
        {
            get => _firstName;
            set => _firstName = value;
        }
    }
}
